package com.llsydn.demo.animation1;

import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import com.llsydn.hello.R;

/**
 * @author lilinshen
 * @title 设置向导3界面
 * @description 请填写相关描述
 * @date 2018/10/10 11:37
 */
public class SetupGuide3Activity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_setup_guide3);
    }

    /**
     * 上一步
     *
     * @param view
     */
    public void pre(View view) {
        finish();
        overridePendingTransition(R.anim.left_in, R.anim.right_out);
    }

    /**
     * 完成
     *
     * @param view
     */
    public void confirm(View view) {
        startActivity(new Intent(this, AnimationFirstActivity.class));
        overridePendingTransition(R.anim.bottom_in, R.anim.disappear_out);
    }
}
